package com.example.dao;

import com.example.pojo.Goods;
import com.example.pojo.GoodsCategory;
import com.github.pagehelper.Page;

import java.util.List;

public interface CategoryAdminDao {
    List<GoodsCategory> findall();

    Page<GoodsCategory> findByCondition(String queryString);

    void add(GoodsCategory goodsCategory);

    void delete(Integer id);

    void edit(GoodsCategory goodsCategory);

    GoodsCategory findById(Integer id);
}
